Skip to content

Improve provider data type#574

Merged
smortex merged 1 commit into
masterfrom
fix-provider-data-type
Apr 11, 2026
Merged

Improve provider data type#574
smortex merged 1 commit into
masterfrom
fix-provider-data-type

Conversation

@smortex

@smortex smortex commented Jan 9, 2026

Copy link
Copy Markdown
Member

Instead of a String, prefer an Enum with a an explicit list of allowed
values.

Instead of a String, prefer an Enum with a an explicit list of allowed
values.
@smortex
smortex marked this pull request as ready for review January 9, 2026 20:04
@smortex smortex changed the title Fix provider data type Improve provider data type Jan 9, 2026

@ekohl ekohl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically someone could supply their own provider outside of the module and this breaks that support, but I'll admit that is very unlikely. If you weight that off against the possible misconfigurations then it's probably worth it.

@smortex
smortex merged commit ce7bb40 into master Apr 11, 2026
16 checks passed
@smortex
smortex deleted the fix-provider-data-type branch April 11, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants